package com.haoze.nurse.enumeration;

/**
 * @Classname ChargeTypeEnum
 * @Description 费用类型
 * @Date 2021/2/25 13:28
 * @Created by szj
 */
public enum ChargeTypeEnum {
    MEDICAL_INSURANCE("医保"),
    PAY_SELF("自费");

    private final String type;

    private ChargeTypeEnum(String type) {
        this.type = type;
    }

    public String type() {
        return this.type;
    }

    public boolean matches(String type) {
        return this.type.equals(type);
    }
}
